package com.lovo.service;

import com.lovo.frame.SaveMoney;
import com.lovo.pojo.UsersDO;

public interface UserService {
    UsersDO getByUsernameAndPwd(String username, String pwd);

    UsersDO getById(int id);

    void saveMoney(int id, double blance);

    void getMoney(int id, double blance) throws Exception;

    void transferAccounts(String otherName, double blance, int id) throws Exception;

    void changePwd(String oldPsw, String newPwd, int id) throws Exception;
}
